package com.dz.lm.service.product;

import java.util.List;
import java.util.Map;

import com.dz.lm.common.dto.AgentProductDTO;
import com.dz.lm.common.exception.ServiceException;
import com.dz.lm.domain.product.AgentProduct;

public interface AgentProductService {

	AgentProductDTO selectByPrimaryKey(Map<String, Object> param) throws ServiceException;

	List<AgentProductDTO> ListAgentProduct() throws ServiceException;

	int insert(AgentProduct agentProduct) throws ServiceException;

	int delete(AgentProduct agentProduct) throws ServiceException;

	int qryAgentProductCountByAgentId(Map<String, Object> param) throws ServiceException;
	
	int qryProductCountByAgentId(Map<String, Object> param) throws ServiceException;
	
	Map<String, Object> cancelProductAgentByAgentId(Map<String, Object> param) throws ServiceException;
	
	Map<String, Object> qryAgentProductInfoByProductId(Map<String, Object> param) throws ServiceException;
}
